package cn.tedu.mtbatisdb7.mapper;

import cn.tedu.mtbatisdb7.entity.Customer;
import cn.tedu.mtbatisdb7.entity.Order;
import cn.tedu.mtbatisdb7.vo.OrderListVO;
import cn.tedu.mtbatisdb7.vo.ResultMapVO1;
import cn.tedu.mtbatisdb7.vo.ResultMapVO2;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface CustomerMapper {
    int insertCustomer(Customer customer);
    int insertOrder(Order order);
    ResultMapVO1 selectCustomerVO1(String custId);
    List<ResultMapVO2> selectCustomerVO2(String city);
    OrderListVO selectOrderListVO(String custId);
    int updateOrder(Order order);
}